package cloudInformation.covert;

import cloudEntity.dto.user.SmartUserRelaxDetailsDTO;
import cloudEntity.entity.SmartUserRelaxDetailsEntity;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

/**
 * @program: Smart School
 * @ClassName SmartRelaxDetailsDTOCoverEntity
 * @description:
 * @author: 陈智博
 * @create: 2025-04-16 09:15
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface SmartRelaxDetailsCovertInterFace {

    SmartRelaxDetailsCovertInterFace INSTANCE =
            Mappers.getMapper(SmartRelaxDetailsCovertInterFace.class);

    @Mapping(target = "sysUserRelaxCreateTime",ignore = true )
    SmartUserRelaxDetailsEntity toConverEntity(SmartUserRelaxDetailsDTO source);

}
